package com.haixiaoke.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haixiaoke.common.annotation.Excel;
import com.haixiaoke.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 蓝牙授权信息对象 biz_smart_lock_bluetooth
 *
 * @author xiaolong
 * @date 2023-05-27
 */
@Data
public class SmartLockBluetooth extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 蓝牙授权id */
    private Long bluetoothId;

    /** 智能锁SN */
    @Excel(name = "智能锁SN")
    private String sn;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 授权开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "授权开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 授权结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "授权结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 天网互联智能锁标识 */
    @Excel(name = "天网互联智能锁标识")
    private String identification;

    /** 蓝牙配对密码 */
    @Excel(name = "蓝牙配对密码")
    private String bluetoothPwd;

    /** 蓝牙配对Mac */
    @Excel(name = "蓝牙配对Mac")
    private String bluetoothMac;

    /** 蓝牙配对Cookie */
    @Excel(name = "蓝牙配对Cookie")
    private String bluetoothCookie;

}
